package com.zjitc.service.impl;

import com.zjitc.dao.CountryDao;
import com.zjitc.model.Country;
import com.zjitc.service.CountryService;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/20 16:27
 * @description:
 */
@Service
public class CountryServiceImpl implements CountryService{
  @Autowired
    private CountryDao countryDao;
  @Override
    public List<Country> findAll(){
      return countryDao.findAll();
    }
}
